

#import "NSString+FAMString.h"

@implementation NSString (FAMString)
+ (NSString *)nullToString:(id)data
{
    NSString *str;
    if (data == [NSNull null] || data == nil || data == Nil || [data isKindOfClass:[NSNull class]]) {
        str = @"";
    }else{
        str = [NSString stringWithFormat:@"%@",data];
    }
    return str;
}
@end
